<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>系统登录</title>
<link href="$!webPath/B-JUI/BJUI/themes/css/bootstrap.min.css" rel="stylesheet">
<script src="$!webPath/B-JUI/BJUI/js/jquery-1.7.2.min.js"></script>
<link href="$webPath/css/EMRegionSelection.css" rel="stylesheet">
<script src="$webPath/js/common/EMRegionSelection.js"></script>
<script>
$(function(){
	    //服务端返回格式，[{"ID":"1","Name":"北京","FullName":"中国 北京"},........]，
		//JSONP记得加入 Request["callback"] + "(" + 已组装的JSON + ")";
		//区域插件选择加载
		$("#testArea").EMRegion({
			AutoCompleteData:$("#webPath").val()+"/tssy/tsSyArea/qryAreaByPo",
			SelectPanelData:$("#webPath").val()+"/tssy/tsSyArea/qryAreaByPid",
			//如果是1：只有选中最末级的值 2：选中省、市、县都有值
                SelectValueType: 2
		});
	});
</script>
</head>
<body>
<input type="hidden" id="webPath" value="$!webPath">
<input type="text" id="testArea" name="areaid" class="EMRegion" value=""/>
</body>
</html>